package java基础.struct;

/**
 * @author IT_Jay
 * @date 2021/12/12 16:30
 */

public class Demo07 {
    public static void main(String[] args) {
        String name = "IT_Jay";
        //JDK的新特性，表达式结果可以是字符串！！
        //字符的本质还是数字
        //反编译 java--class(字节码文件)     IDEA可实现反编译
        switch (name){
            case "帅小伙":
                System.out.println("帅小伙");
                break;
            case "IT_Jay":
                System.out.println("IT_Jay");
                break;
            default:
                System.out.println("未匹配到！");
        }
    }
}
